package com.ruoyi.common.constant;

public class BusinessConst {

    /**
     * 常用是否
     */
    public static class YesOrNo {
        public static String YES = "1";
        public static String NO = "0";
    }

    /**
     * 请求路径地址
     */
    public static class RequestURI {
        public static String LOGIN_URI = "/wx/user/login";
    }

    /**
     * echarts请求的日期方式
     */
    public static class EchartsType {
        public static String YEAR = "y";
        public static String MONTH = "m";
    }

    /**
     * redis 常用键值
     */
    public static class RedisConst {
        public static String PAY_ALL = "_pay_all";
    }

    /**
     * 明细数据的默认天数
     */
    public static class DetailDay {
        public static Integer DAY = 5;
    }

    /**
     * 分享状态status
     */
    public static class shareStatus{
        /** 生效中 */
        public static String PASS = "0";
        /** 已删除 */
        public static String DEL = "1";
        /** 待确认 */
        public static String ING = "2";
        /** 已拒绝 */
        public static String REJECT = "3";
    }

    /**
     * 分享类型flag
     */
    public static class shareFlag{
        /** 互看 */
        public static String MUTUAL = "0";
        /** 看前 */
        public static String FRONT = "1";
        /** 看后 */
        public static String REAR = "2";
    }
}
